﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GuessLAB.UI.Classes;
using System.Utility.UI;
using GuessLAB.Domain;
using System.Utility;

namespace Logistics
{
    public partial class logout : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            System.Web.Security.FormsAuthentication.SignOut();
            Session.Clear();
            Session.Abandon();
            StateManager<AppUser>.SetSessionState(SessionKey.UserInfo, null);
            Response.Redirect(Constant.LoginUrl, false);
        }
    }
}